package edu.ncu.service;

import edu.ncu.entity.Friend;
import edu.ncu.entity.User;

import java.util.List;

public interface FriendService {
    List<Friend> findAll();
    List<User> findByUserId(int userId);
    void saveFriend(Friend friend);

    Friend checkIsFriend(int userId,int friendId) ;
}
